﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="FastSpring.Core.Model.DBTable,FastSpring.Net.Core" table="DB_Table" lazy="false">
    <id name="ID" column="ID" type="Int32">
      <generator class="native" />
    </id>
    <property name="TableNameCN" column="TableNameCN"/>
    <property name="TableDesc" column="TableDesc"/>
    <property name="TableName" column="TableName"/>
    <property name="TableNameReal" column="TableNameReal"/>
    <property name="TableNameHbm" column="TableNameHbm"/>
    <property name="IsActive" column="IsActive"/>
    <property name="IsRename" column="IsRename"/>
  </class>
  <class name="FastSpring.Core.Model.DBTableField,FastSpring.Net.Core" table="DB_TableField" lazy="false">
    <id name="ID" column="ID" type="Int32">
      <generator class="native" />
    </id>
    <property name="TID" column="TID"/>
    <property name="FieldNameCN" column="FieldNameCN"/>
    <property name="FieldDesc" column="FieldDesc"/>
    <property name="FieldName" column="FieldName" />
    <property name="FieldNameReal" column="FieldNameReal"/>
    <property name="FieldNameHbm" column="FieldNameHbm"/>
    <property name="IsNull" column="IsNull"/>
    <property name="IsUpdate" column="IsUpdate"/>
    <property name="IsActive" column="IsActive"/>
  </class>
  <query name="DBTableFieldsOfTID">
    <![CDATA[From DBTableField dBTableField WHERE dBTableField.TID=:param1 ORDER BY dBTableField.TID,dBTableField.ID]]>
  </query>
</hibernate-mapping>